package com.yc.design.mode.single;

/**
 * 单列模式
 *  - 饿汉模式
 * @author 丁广义
 * @date 2018年8月20日
 */
public class HungrySingleMode {

    private static HungrySingleMode hungrySingleMode =new HungrySingleMode();
    private HungrySingleMode(){}

    public static HungrySingleMode createHungrySingleMode(){
        return hungrySingleMode;
    }

}
